<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>修改用户</title>
    <%--<!-- 新 Bootstrap 核心 CSS 文件 -->--%>
    <link href="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet"/>
    <%--<!-- 可选的Bootstrap主题文件（一般不使用） -->--%>
    <%--<script src="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap-theme.min.css"></script>--%>
    <%--<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->--%>
    <%--<script src="http://apps.bdimg.com/libs/jquery/2.0.0/jquery.min.js"></script>--%>
    <%--<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->--%>
    <%--<script src="http://apps.bdimg.com/libs/bootstrap/3.3.0/js/bootstrap.min.js"></script>--%>
    <%--<link href="<%=request.getContextPath()%>/resources/js/bootstrap/css/bootstrap.min.css" rel="stylesheet">--%>
    <script src="<%=request.getContextPath()%>/resources/js/jQuery/jquery-2.1.4.min.js"></script>
    <script src="<%=request.getContextPath()%>/resources/js/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <H3 class="text-info">欢迎你少年：${loginUser.loginName}</H3>
    <sf:form class="form-horizontal col-sm-offset-3 " method="post" modelAttribute="user" enctype="multipart/form-data">
        <div class="form-group">
            <label for="userName" class="col-sm-2 control-label">用户名</label>

            <div class="col-sm-4">

                <sf:input type="text" class="form-control" id="userName" path="userName"
                          placeholder="请输入名字"/><sf:errors path="userName"/>
            </div>
        </div>

        <div class="form-group">
            <label for="userName" class="col-sm-2 control-label">密码</label>

            <div class="col-sm-4">

                <sf:input type="password" class="form-control" id="userName" path="userPassword"
                          placeholder="请输入密码"/><sf:errors path="userPassword"/>
            </div>
        </div>

        <div class="form-group">
            <label for="userEmail" class="col-sm-2 control-label">邮箱</label>

            <div class="col-sm-4">

                <sf:input type="email" class="form-control" id="userEmail" path="userEmail"
                          placeholder="请输入邮箱"/><sf:errors path="userEmail"/>
            </div>
        </div>
        <div class="form-group">
            <label for="userEmail" class="col-sm-2 control-label">上传的文件</label>

            <div class="col-sm-4">

                <input type="file" name="attachs"/>
            </div>
        </div>
        <div class="form-group">
            <label for="userEmail" class="col-sm-2 control-label">上传的文件</label>

            <div class="col-sm-4">

                <input type="file" name="attachs"/>
            </div>
        </div>
        <div class="form-group">
            <label for="userEmail" class="col-sm-2 control-label">上传的文件</label>

            <div class="col-sm-4">

                <input type="file" name="attachs"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-4 ">
                <button type="submit" class="btn btn-default btn-info  btn-block">提交</button>
            </div>
        </div>
    </sf:form>
</div>
</body>
</html>